.lesson-detail {
  .lesson-detail-wrap {
    flex-basis: 100%;
    padding: 1.25rem 0;
    display: flex;
    justify-content: center;
    background-color: #d6e8f4;
    box-sizing: border-box;
    .lesson-detail-cont {
      flex-basis: 1160px;
      display: flex;
      box-sizing: border-box;
      padding: 1.25rem 1.25rem 3.125rem 1.25rem;
      .img-box {
        img {
          width: 25rem;
          height: 14.0625rem;
          border-radius: 0.625rem;
          margin-right: 1.25rem;
        }
      }

      .cont-box {
        & > div,
        & > ul {
          margin-bottom: 0.75rem;
        }
        .lesson-title {
          font-size: 1.5rem;
          line-height: 2.125rem;
          color: #0f1419;
          margin-bottom: 0.875rem;
        }
        .lesson-author {
          font-size: 1.125rem;
          font-weight: bold;
          display: flex;
          align-items: center;
          img {
            width: 1.875rem;
            height: 1.875rem;
            border-radius: 0.9375rem;
            margin-right: 0.25rem;
          }
        }
        .category-list {
          display: flex;
          color: #667280;
          .category-item {
            border: 1px solid #edeff2;
            border: 1px solid #edeff2;
            border-radius: 8px;
            background-color: hsla(0, 0%, 100%, 0.6);
            margin-right: 0.75rem;
            margin-bottom: 0.25rem;
            padding: 0.4rem 1rem;
            -webkit-justify-content: center;
            justify-content: center;
            line-height: 1;
            cursor: pointer;

            &:hover {
              color: #1d7dfa;
            }
          }
        }
        .count {
          display: flex;
          li {
            margin-right: 1.5rem;
            color: #667280;
            span {
              font-size: 1rem;
              color: #0f1419;
              margin-right: 4px;
            }
          }
        }
      }
    }

    @media screen and (max-width: 768px) {
      .lesson-detail-cont {
        flex-wrap: wrap;
        justify-content: center;
        .img-box {
          margin-bottom: 1.25rem;
        }
        // .cont-box{
        //   width: 100%;
        // }
      }
    }
  }

  .apply-bar {
    box-sizing: border-box;
    margin-top: -3rem;
    height: 6rem;
    background-color: white;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    .lesson-price {
      font-size: 2.5rem;
      height: 3rem;
      line-height: 3rem;
      color: #ff7a38;
      margin-right: 1.25rem;
      min-width: 50px;
    }
    .lesson-tip {
      color: #8797a1;
      flex-grow: 1;
    }
    .go-btn {
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #ff7a38;
      box-shadow: inset 0 -3px 6px rgba(255, 0, 66, 11%);
      font-style: normal;
      color: #fff;
      height: 3rem;
      border-radius: 1.5rem;
      font-weight: bold;
      font-size: 1.125rem;
      line-height: 1.5rem;
      border: unset;
      padding: 0.75rem 2.25rem;
      min-width: 96px;
      cursor: pointer;
      &:hover {
        background-color: #e46642;
        cursor: pointer;
      }
    }
  }

  .section-main {
    box-sizing: border-box;
    margin-top: 1.25rem;
    background-color: white;
    border-radius: 12px;
    margin-bottom: 1.75rem;
    .tabs {
      padding-top: 0.625rem;
      display: flex;
      .tab-item {
        margin: 0 1.25rem;
        padding: 0 1.25rem;
        font-size: 1rem;
        transition: 0.3s;
        text-align: center;
        height: 2.75rem;
        line-height: 2.75rem;
        &:not([class*="active-"]):hover {
          color: #1d7dfa;
        }
      }
      .active-tab {
        color: black;
        font-weight: bold;
      }
      .active-tab::after {
        display: block;
        content: "";
        height: 1px;
        width: 100%;
        background-color: #1d7dfa;
        position: relative;
        top: -0.3125rem;
      }
    }
    .lesson-description {
      color: #586470;
      font-size: 1.125rem;
      padding: 1.25rem;
    }

    .chapter-list,
    .classhour-list {
      padding: 0 1.25rem;
      overflow: hidden;
    }
    .chapter-list {
      padding: 1.25rem;
    }
    .classhour-list {
      padding: 0 1.25rem;
      max-height: 0;
    }
    .chapter-item,
    .classhour-item {
      display: flex;
      position: relative;
      border-radius: 0.625rem;
      margin-bottom: 1.25rem;
      cursor: pointer;
    }
    .chapter-item {
      padding: 1rem;
      color: #3e454d;
      background-color: rgb(245, 248, 250);
      i {
        font-size: 1rem;
        line-height: 1.375rem;
        position: absolute;
        right: 2.5rem;
      }
    }
    .classhour-item {
      padding: 0.75rem 1.25rem;
    }

    .chapter-index,
    .classhour-index {
      margin-right: 0.5rem;
      height: 1.375rem;
      line-height: 1.375rem;
    }
    .chapter-index {
      font-size: 1.125rem;
    }
    .classhour-index {
      font-size: 1rem;
    }
    .chapter-title,
    .classhour-title {
      font-size: 1rem;
      line-height: 1.375rem;
    }

    .classhour-time {
      position: absolute;
      right: 2.5rem;
    }
    .showClasshour .classhour-list {
      transition: all 1s linear;
      max-height: 500px !important;
    }

    .comment-list{
      .comment-item{
        margin: .3125rem;
        padding: .375rem;
      }
    }
  }
}
